package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * 考核模块-考核管理
 * @author wiilead
 *
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(value = "考核模块-考核管理")
public class CcmsSmartleasingAssessment implements Serializable {

    @ApiModelProperty(value = "考核id")
    @TableId(value = "assessment_id", type = IdType.UUID)
    private String assessmentId;

    @ApiModelProperty(value = "考核名称")
    private String name;

    @ApiModelProperty(value = "被考核人")
    private Integer assessee;
    
    @ApiModelProperty(value = "考核开始时间")
    private Date startDate;
    
    @ApiModelProperty(value = "考核结束时间")
    private Date endDate;

    @ApiModelProperty(value = "是否删除（0.否 1.是）")
    private Integer isDelete;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;
    
    @ApiModelProperty(value = "父级以及对应指标项占比")
    @TableField(exist = false)
    private List<CcmsSmartleasingIndicatorProportVO> indicatorList;
    
    @ApiModelProperty(value = "被考核人名称")
    @TableField(exist = false)
    private String assesseeName;
    
    @ApiModelProperty(value = "考核人明细")
    @TableField(exist = false)
    private List<CcmsSmartleasingAssessor> assessorList;
    
    @ApiModelProperty(value = "是否已有人考核(0.否 >0.是)")
    @TableField(exist = false)
    private Integer isExitsAssessment;
    
    @ApiModelProperty(value = "是否已考核(0.未考核 1.已考核)")
    @TableField(exist = false)
    private Integer isAssessment;

    private static final long serialVersionUID = 1L;

}
